package com.qidianit.mes.md.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.MaterialClassify;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/16 1:15
 */
public interface ClassifyService {
    MESResult save(MaterialClassify materialClassify);

    MESResult list(MaterialClassify materialClassify, Long parentId);

    MESResult selectById(Long classifyId);
    MESResult updateClassify(MaterialClassify materialClassify);

    MESResult countSubclassify(Long classifyId);

    MESResult delete(Long classifyId);

    MESResult getTree(Long parentId);
}

